package com.bootdo.system.service;

import com.bootdo.common.utils.R;
import com.bootdo.system.domain.AppVersionDO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

public interface AppVersionService {

    AppVersionDO get(Long appId);

    List<AppVersionDO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    R uploadAppPackage(MultipartFile appPackage,String versionNumber,String sign,String mandatoryUpdate) throws Exception;

    AppVersionDO downloadAppPackage();
}
